public class test {
    public static int add(int a,int b){
        return a+b;
    }
    public static double add(double a,double b,double c){
        return a+b+c;
    }

    public static void main(String[] args) {
        System.out.println(add(2,7));
        System.out.println(add(5.0,20.0,65.0));
    }
}
